package com.fz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fz.entity.Topic;

import java.util.List;

/**
 * <p>
 * 存储话题信息 服务类
 * </p>
 *
 * @author hyr
 * @since 2025-06-18
 */
public interface TopicService extends IService<Topic> {
    Boolean likeTopic(Long topicId);
    List<Topic> list(String title);

    Topic createTopic(Long userId, String title,String content);
}
